import http from '@/request'
export function getGoodsApi(data) {
    return http({
        url: `/private/v1/goods/?query=${data.query}&pagenum=${data.pagenum}&pagesize=${data.pagesize}`,
        method: "get",
    })
}
export function addGoodsApi(data) {
    return http({
        url: `/private/v1/goods`,
        method: "post",
        data
    })
}